package cn.iocoder.yudao.module.ai.controller.admin.datasetreleasefile.vo;

import cn.iocoder.yudao.module.ai.controller.admin.datasetmark.vo.DatasetMarkRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 数据集解压缩文件列 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DatasetReleaseFileRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "23604")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "数据集编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "27497")
    @ExcelProperty("数据集编号")
    private Long datasetId;

    @Schema(description = "文件业务类型： 1 原始文件，2 标注文件，3 classes文件 ", example = "2")
    @ExcelProperty("文件业务类型： 1 原始文件，2 标注文件，3 classes文件 ")
    private Integer fileBizType;

    @Schema(description = "文件类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("文件类型")
    private String fileType;

    @Schema(description = "文件原始名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("文件原始名称")
    private String fileOriginalName;

    @Schema(description = "文件存储路径", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("文件存储路径")
    private String fileUploadPath;

    @Schema(description = "对应标注文件编号（file_biz_tpe=1时，可能有值）", example = "18128")
    @ExcelProperty("对应标注文件编号（file_biz_tpe=1时，可能有值）")
    private Long markFileId;

    @Schema(description = "标注文件存储路径")
    @ExcelProperty("标注文件存储路径")
    private String markFileUploadPath;

    @Schema(description = "标注文件存储路径", example = "芋艿")
    @ExcelProperty("标注文件存储路径")
    private String markFileOriginalName;

    @Schema(description = "标注文件大小，比特")
    @ExcelProperty("标注文件大小，比特")
    private Long markFileSize;

    @Schema(description = "时长（针对视频）秒")
    @ExcelProperty("时长（针对视频）秒")
    private Long duration;

    @Schema(description = "文件大小，比特")
    @ExcelProperty("文件大小，比特")
    private Long fileSize;

    @Schema(description = "文件解压的顺序号")
    @ExcelProperty("文件解压的顺序号")
    private Integer sortNum;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "质检状态 0 ,未质检；1 ，质检完成-合格；2 质检完成-不合格；", example = "1")
    @ExcelProperty("质检状态 0 ,未质检；1 ，质检完成")
    private String qualityStatus;

    /**
     * 质检状态名称
     */
    private String qualityStatusName;

    @Schema(description = "质检人编号", example = "19214")
    @ExcelProperty("质检人编号")
    private String qualityUserId;

    @Schema(description = "质检时间")
    @ExcelProperty("质检时间")
    private LocalDateTime qualityTime;

    /**
     * 原始文件下载地址
     */
    private String originalFileUrl ;

    /**
     * 标注文件下载地址
     */
    private String markFileUrl ;

    /**
     * 包含标注信息，在数据集详情接口中会包含改字段
     */
    private List<DatasetMarkRespVO> datasetMarkList;

}